updating oE crash_message
crash_message
include error.e namespace error public procedure crash_message(sequence msg)
specifies a final message to be displayed to your user, in the event that Euphoria has to shut down your program due to an error.
Parameters:
- msg : a sequence to display. It must only contain printable characters.
Comments:
There can be as many calls to crash_message as needed in a program. Whatever was defined last will be used in case of a runtime error.
Example 1:
crash_message("The password you entered must have at least 8 characters.") pwd_key = input_text[1..8] -- if ##input_text## is too short, -- user will get a more meaningful message than -- "index out of bounds".
See Also:
Not Categorized, Please Help
|